﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="details.aspx.vb" Inherits="Prototype.details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
    Welcome to the Details page for this prototype Web 2.0 site</p>
    <p>
        This shows the detailed showreels for the selected 3D projection mapping artists</p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="SqlDataSource1">
            <Columns>
                <asp:BoundField DataField="Showreel" HeaderText="Showreel" 
                    SortExpression="Showreel">
                <HeaderStyle CssClass="gridheader" />
                </asp:BoundField>
                <asp:BoundField DataField="ArtComment" HeaderText="Artists Comment" 
                    SortExpression="ArtComment">
                <HeaderStyle CssClass="gridheader" />
                </asp:BoundField>
                <asp:BoundField DataField="ArtistId" HeaderText="ArtistId" 
                    SortExpression="ArtistId" Visible="False" />
                <asp:DynamicField DataField="DateUpdated" HeaderText="DateUpdated">
                <HeaderStyle CssClass="gridheader" />
                </asp:DynamicField>
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:myPrototypeDatabase %>" 
            ProviderName="<%$ ConnectionStrings:myPrototypeDatabase.ProviderName %>" 
            
            SelectCommand="SELECT [Showreel], [ArtistId], [ArtComment], [DateUpdated] FROM [Video] WHERE ([ArtistId] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ArtistId" QueryStringField="ArtistId" 
                    Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
    <p>
        &nbsp;</p>
<p>
    &nbsp;</p>
<p>
    &nbsp;</p>
<p>
    &nbsp;</p>
<p>
    &nbsp;</p>
</asp:Content>
